package cn.kkcxy.blog.common.constant;

/**
 * @BelongsProject: kkcxy-blog
 * @BelongsPackage: cn.kkcxy.blog.common.constant
 * @Author: kkcxy
 * @CreateTime: 2024-09-11 23:47
 * @Description: 异常消息常量
 * @Version: 1.0
 */
@SuppressWarnings("all")
public class ExceptionMessageConstant {

    // System Common Exception
    public static final String METHOD_PARAMETER_ERROR = "参数出问题啦~";

    // Auth Service Exception Constant
    public static final String VALID_CODE_IS_NULL = "验证码不能为空";
    public static final String VALID_CODE_HAS_EXPIRED = "验证码错误或已过期";
    public static final String VALID_CODE_WITH_ACCOUNT_UNMATCH = "用户名与验证码不匹配";
    public static final String USER_INFO_IS_NULL = "未找到对应的用户信息";
    public static final String LOGIN_TYPE_NOT_FOUND = "没有找到对应的登录类型";
    public static final String USER_ACCOUNT_REGISTER_ERROR = "用户账户注册失败";
    public static final String USER_ACCOUNT_DISABLED = "用户账户已禁用";
    public static final String GET_VALID_CODE_ERROR = "请使用正确的方式获取验证码";
    public static final String EMAIL_ILLEGITIMATE_ERROR = "邮箱不合法";
    public static final String EMAIL_FROM_USER_NOT_FOUND = "接收验证码的邮箱账号不存在";
    public static final String PHONE_ILLEGITIMATE_ERROR = "手机号不合法";
    public static final String EMAIL_SEND_CODE_ERROR = "发送邮箱验证码失败";
    public static final String USER_LOGIN_PASSWORD_ERROR = "用户账户登录密码不匹配";
    public static final String USER_ACCOUNT_LENGTH_MAX_ERROR = "用户账户长度不能超过20位";
    public static final String SYSTEM_ROLE_CODE_NOT_FOUND = "系统角色编码未找到";
    public static final String USER_GIVE_SYSTEM_ROLE_ERROR = "用户赋予系统角色失败";
    public static final String VALID_CODE_TYPE_NOT_FOUND = "没有找到对应的验证码类型";

    public static final String GET_ARTICLE_ARCHIVE_DATA_ERROR = "获取文章归档数据失败";
    public static final String GET_ARTICLE_CATEGORY_LIST_ERROR = "获取文章分类列表数据失败";
    public static final String GET_ARTICLE_CATEGORY_OR_ARTICLE_LIST_ERROR = "获取文章分类或文章列表数据失败";
    public static final String GET_ARTICLE_CATEGORY_OR_ARTICLE_LIST_UPDATED = "文章分类信息已被修改，刷新网页获取最新数据";
    public static final String ARTICLE_CATEGORY_IS_NULL_ERROR = "文章分类为空";
    public static final String ARTICLE_CATEGORY_INFO_IS_NULL_ERROR = "文章分类信息为空";
    public static final String BACKEND_GET_USER_LIST_ERROR = "获取用户信息失败";
}
